﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ManyConsole;
using VideoReDo;

namespace Processor
{
   namespace VideoReDoCommands
   {
      public class DisplayProfiles : ConsoleCommand
      {
         public DisplayProfiles()
         {
            this.IsCommand("DisplayProfiles", "Displays VideoReDo profiles.");
            this.SkipsCommandSummaryBeforeRunning();
         }

         public override int Run(string[] remainingArguments)
         {
            VideoReDoAPI vrd = new VideoReDoAPI();
            vrd.DisplayProfiles();

            return 0;
         }
      }

      public class DisplayFileInformation : ConsoleCommand
      {
         public DisplayFileInformation()
         {
            this.IsCommand("DisplayFileInformation", "Displays file information.");
            this.SkipsCommandSummaryBeforeRunning();
            HasAdditionalArguments(1, "<Filename>");
         }

         public override int Run(string[] remainingArguments)
         {
            VideoReDoAPI vrd = new VideoReDoAPI();
            vrd.DisplayFileInformation(remainingArguments[0]);

            return 0;
         }
      }
   }
}
